home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / bbs / dirm_ed / struct.h < prev   
Encoding:
C/C++ Source or Header  |  1992-07-11  |  1.2 KB  |  29 lines

  1.  
  2. /* Extraido del fichero GB-FBB.DOC que acompaƱa al FBBBBS 5.14 */
  3.  
  4. #define NBBBS 80
  5. #define NBMASK NBBBS/8
  6.  
  7.     typedef struct {
  8.  
  9.       char type         ;  /* 1   Type of message (A,B,P,T)       */
  10.       char status       ;  /* 1   Status of message ($,A,F,K,N,Y) */
  11.       long numero       ;  /* 4   Number of the message           */
  12.       long taille       ;  /* 4   Size of message in characters   */
  13.       long date         ;  /* 4   Date of message                 */
  14.       char bbsf[7]      ;  /* 7   Adjacent BBS giving the message */
  15.       char bbsv[41]     ;  /* 41  Route                           */
  16.       char exped[7]     ;  /* 7   Destination of the message      */
  17.       char desti[7]     ;  /* 7   To field                        */
  18.       char bid[13]      ;  /* 13  BID or MID                      */
  19.       char titre[81]    ;  /* 81  Title of message                */
  20.       long datech       ;  /* 4   Date of last status change      */
  21.       char fbbs[NBMASK] ;  /* 10  Mask of BBSes to forward to     */
  22.       char forw[NBMASK] ;  /* 10  Mask of BBSes already forwarded */
  23.  
  24.    } bullist            ;  /* 194 bytes = length of one record    */
  25.  
  26.  
  27.  
  28.  
  29.